//
//  DataManager.h
//  lisure0.1
//
//  Created by xalo on 16/4/22.
//  Copyright © 2016年 Mr.wangYongxu. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ReadListModel;
@class PlayInfoModel;
@interface DataManager : NSObject

@property(nonatomic,retain)NSManagedObjectContext* context;

+(instancetype)defauleDataManager;
-(void)InsertData:(ReadListModel*)model;
-(NSArray*)selectedData;
-(void)InsertDataWithModel:(PlayInfoModel*)model withFilePath:(NSString*)filePath;
-(NSArray*)DataWithDownLoad;

@end
